import { RouteRecordRaw } from 'vue-router'

export const routes: Array<RouteRecordRaw> = [
  {
    path: '/algo-test/task-edit/:id',
    meta: { title: '算法测试-编辑算法任务' },
    component: () => import('@/views/online-lab/algo-test/task-edit/index.vue')
  },
  {
    path: '/updateemail',
    component: () => import('@/views/customer/personal-center/uodate-emailover/index.vue')
  },
  /* 中转页 ----------------------------------------------------------------------------------------------------- */
  {
    path: '/middle-page',
    component: () => import('@/views/middle-page/index.vue')
  },
  /* ----------------------------------------------------------------------------------------------------- */
  {
    path: '/dmp/detail/dmp-img/img-class/:id',
    meta: { title: '图像分类' },
    component: () => import('@/views/online-lab/dmp/dmp-img/img-class/index.vue')
  },
  {
    path: '/dmp/detail/dmp-img/img-obj-detect/:id',
    meta: { title: '目标检测' },
    component: () => import('@/views/online-lab/dmp/dmp-img/img-obj-detect/index.vue')
  },
  {
    path: '/dmp/detail/dmp-text/text-class/:id',
    component: () => import('@/views/online-lab/dmp/dmp-text/text-class/index.vue')
  },
  {
    path: '/dmp/detail/dmp-text/named-entity/:id',
    component: () => import('@/views/online-lab/dmp/dmp-text/named-entity/index.vue')
  },
  {
    path: '/dmp/detail/dmp-text/text-triplet/:id',
    component: () => import('@/views/online-lab/dmp/dmp-text/text-triplet/index.vue')
  },
  {
    path: '/dmp/detail/dmp-text/text-similarity/:id',
    component: () => import('@/views/online-lab/dmp/dmp-text/text-similarity/index.vue')
  },
  /* -------------------------------------------- 邀请加入 ----------------------------------------------- */
  {
    path: '/invite2Join',
    component: () => import('@/views/invite2Join/index.vue')
  }
]

export default routes
